package com.example.tangqi.a323tpstartproject.service;

import com.example.tangqi.a323tpstartproject.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by Junsheng on 2017/5/11.
 */
//Retrofit turns your HTTP API into a Java interface.
public interface WeatherService {
    @GET("data/sk/{cityNumber}.html")
    Call<WeatherResult> getResult(@Path("cityNumber") String cityNumber);

}
